package com.ruoyi.project.wms.essentials.storage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 入库记录对象 wms_storage
 * 
 * @author ruoyi
 * @date 2020-10-29
 */
public class WmsStorage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 入库记录编号（主键）
 */
    private Integer stoId;

    /** 对应的订货单
 */
    @Excel(name = "对应的订货单 ")
    private Integer stoPurId;

    /** 入库时间 */
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stoTime;

    /** 入库负责人 */
    @Excel(name = "入库负责人")
    private String stoPerson;

    public void setStoId(Integer stoId)
    {
        this.stoId = stoId;
    }

    public Integer getStoId()
    {
        return stoId;
    }
    public void setStoPurId(Integer stoPurId)
    {
        this.stoPurId = stoPurId;
    }

    public Integer getStoPurId()
    {
        return stoPurId;
    }
    public void setStoTime(Date stoTime) 
    {
        this.stoTime = stoTime;
    }

    public Date getStoTime() 
    {
        return stoTime;
    }
    public void setStoPerson(String stoPerson) 
    {
        this.stoPerson = stoPerson;
    }

    public String getStoPerson() 
    {
        return stoPerson;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stoId", getStoId())
            .append("stoPurId", getStoPurId())
            .append("stoTime", getStoTime())
            .append("stoPerson", getStoPerson())
            .toString();
    }
}
